import axios from 'axios';
import qs from 'qs'
export function getloginName(data) {
    return axios({
        url: 'http://localhost:1111/user/loginName',
        method: 'get',
        params: data
    })
}
export function register(data) {
    return axios({
        url: 'http://localhost:1111/user/register',
        method: 'post',
        data: qs.stringify(data)
    })
}